const router = [
  //日常考勤 -新
  {
    path: '/outdutyNew',
    name: 'outDutyNew',
    component: () => import('@/views/outDutyNew/OutDutyNew.vue'),
    meta: {
      // keepAlive: true,
      deepth: 2,
    },
  },
  //日常考勤新增 -新
  {
    path: '/addOutDuty',
    name: 'addOutDuty',
    component: () => import('@/views/outDutyNew/AddOutDuty.vue'),
  },
  //日常考勤详情 -新
  {
    path: '/detailOutDuty',
    name: 'DetailOutDuty',
    component: () => import('@/views/outDutyNew/DetailOutDuty.vue'),
    meta: {
      deepth: 4,
    },
  },
  //关联请假单 -新
  {
    path: '/outDutyLink',
    name: 'OutDutyLink',
    component: () => import('@/views/outDutyNew/OutDutyLink.vue'),
    meta: {
      keepAlive: true,
      deepth: 2,
    },
  },
  //请假单审核 -新
  {
    path: '/attendanceCheck',
    name: 'AttendanceCheck',
    component: () => import('@/views/outDutyNew/AttendanceCheck.vue'),
    meta: {
      keepAlive: true,
      deepth: 2,
    },
  },
  //出勤-汇总页面 -新
  {
    path: '/outAllPages',
    name: 'OutAllPages',
    component: () => import('@/views/outDutyNew/OutAllPages.vue'),
    meta: {
      keepAlive: true,
      deepth: 3,
    },
  },
  //新增旷工记录
  {
    path: '/addAbsent',
    name: 'AddAbsent',
    component: () => import('@/views/outDutyNew/AddAbsent.vue'),
    meta: {
      deepth: 4,
    },
  },
]

export default router
